package ModelImplementation

type SalariedClassification struct {
	itsSalary float64
}

func (s *SalariedClassification)newSalariedClassification(salary float64)  {
	s.itsSalary = salary
}

func (s *SalariedClassification) GetSalary() float64 {
	return s.itsSalary
}

//实现PaymentClassification中的CalculatePay方法
func (s *SalariedClassification)CalculatePay(pc Model.Paycheck) float64 {
	return s.itsSalary
}
